Automattic\WooCommerce\Admin\API\OnboardingTasks B

Total Complexity 97
Dependencies 10
Dependents 1
Total lines 961
Lines of code 652
Logical lines of code 214
Comment lines 198
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
sideload_homepage_images()
A
43 15 45
register_routes()
A
31 1 175
get_homepage_template()
A
44 6 48
snooze_task()
S
51 6 26
get_header_mappings()
S
52 5 24
undo_snooze_task()
S
53 5 24
dismiss_task()
S
54 5 23
undo_dismiss_task()
S
54 5 23
create_homepage()
S
48 4 33
get_homepage_media_block()
S
56 5 16
get_task_list_params()
S
51 4 27
action_task()
S
55 4 22
get_homepage_cover_block()
S
49 3 35
create_product_from_template()
S
53 3 21
import_sample_products_from_csv()
S
56 3 17
get_tasks()
S
60 3 13
unhide_task_list()
S
58 2 16
hide_task_list()
S
58 2 16
create_pages_permission_check()
S
68 3 6
get_tasks_permission_check()
S
69 2 6
hide_task_list_permission_check()
S
69 2 6
create_products_permission_check()
S
69 2 6
import_sample_products()
S
69 2 6
snooze_task_permissions_check()
S
66 2 7
get_available_homepage_images()
S
66 2 8
sanitize_special_column_name_regex()
S
76 1 3